package com.yuxi.Dao;

import java.util.List;

import org.apache.catalina.filters.AddDefaultCharsetFilter;
import org.springframework.stereotype.Repository;

import com.yuxi.Request.OwnQuery;
import com.yuxi.Request.Page;
import com.yuxi.excelEntity.OwnWordRecord;
@Repository
public interface OwnWordRecordDao {
	public void add(OwnWordRecord oRecord);
	public OwnWordRecord get(Integer oId);
	
	public List<OwnWordRecord> getALl();	
	public List<OwnWordRecord> getByUserId(Integer userId);	
	
	public void modify(OwnWordRecord oRecord);
	public void del(OwnWordRecord oRecord);
	
	public Page<OwnWordRecord> getOwnWordListByQuery(OwnQuery query,Page<OwnWordRecord> p);
}
